using System;
using Microsoft.SmallBasic.Library;

namespace SmallBasicFun
{
	/// <summary>
	/// BIG FONTS, small fonts, cRaZy FoNts. Don't call ProgramWindow.DrawText() with just some boring, default Font.
	/// Add your personal font favorites here
	/// </summary>
	[SmallBasicType]
	public class CurrentFont
	{
		static CurrentFont()
		{
			ProgramWindow.Show();

		}
		/// <summary>
		/// This sets how big the Font is. The default font size is 12, but you can use anything from 1-100
		///  but please don't use size 37, it's a scary size.
		/// </summary>
		/// <example> CurrentFont.SetSize(42)</example>
		/// <param name="size"> The size of the font</param>
		public static void SetSize(Primitive size)
		{
			GraphicsWindow.FontSize = size;
		}
		/// <summary>
		/// This sets the color of the Font. The default font color is blue.
		///  Ask the Colors object which colors you can use.
		/// </summary>
		/// <example> CurrentFont.SetColor(Colors.PeachPuff)</example>
		/// <param name="color"> The color of the font</param>
		public static void SetColor(Primitive color)
		{
			GraphicsWindow.BrushColor = color;
		}
	}
}